package com.jzo2o.customer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jzo2o.common.model.PageResult;
import com.jzo2o.customer.model.domain.WorkerCertificationAudit;
import com.jzo2o.customer.model.dto.request.CertificationAuditReqDTO;
import com.jzo2o.customer.model.dto.request.WorkerCertificationAuditAddReqDTO;
import com.jzo2o.customer.model.dto.request.WorkerCertificationAuditPageQueryReqDTO;
import com.jzo2o.customer.model.dto.response.RejectReasonResDTO;
import com.jzo2o.customer.model.dto.response.WorkerCertificationAuditResDTO;

/**
 * @author: lxr
 * @Date: 2025/09/17 14:37
 * @Description:
 */
public interface IWorkerCertificationAuditService extends IService<WorkerCertificationAudit> {
    /*
    **提交认证申请
     */
    void applyCertification(WorkerCertificationAuditAddReqDTO workerCertificationAuditAddReqDTO);
    /*
     **查询最新的驳回原因
     */
    RejectReasonResDTO queryCurrentUserLastRejectReason();
    /*
     **服务人员认证审核信息分页查询
     */
    PageResult<WorkerCertificationAuditResDTO> pageQuery(WorkerCertificationAuditPageQueryReqDTO workerCertificationAuditPageQueryReqDTO);

    /*
     **审核服务人员认证信息
     */
    void auditCertification(Long id, CertificationAuditReqDTO certificationAuditReqDTO);
}
